package sk.ogame.realm.exception;

/**
 * @author 支绍昆
 * 2023/2/21
 * 资源不足
 **/
public class ResourceNotEnoughException extends BaseException {

    public ResourceNotEnoughException(String message, Integer errCode) {
        super(message, errCode);
    }

    private int planetId;
    private int needMetal;
    private int needCrystal;
    private int needDeuterium;

    public int getPlanetId() {
        return planetId;
    }

    public void setPlanetId(int planetId) {
        this.planetId = planetId;
    }

    public int getNeedMetal() {
        return needMetal;
    }

    public void setNeedMetal(int needMetal) {
        this.needMetal = needMetal;
    }

    public int getNeedCrystal() {
        return needCrystal;
    }

    public void setNeedCrystal(int needCrystal) {
        this.needCrystal = needCrystal;
    }

    public int getNeedDeuterium() {
        return needDeuterium;
    }

    public void setNeedDeuterium(int needDeuterium) {
        this.needDeuterium = needDeuterium;
    }
}
